package com.bqtv.sport.ui.mine

import android.content.Context
import android.content.Intent
import android.view.View
import com.bqtv.sport.app.AppActivity
import com.bqtv.sport.databinding.ActivityPointsMallRulesBinding

class PointsMallRulesActivity : AppActivity<ActivityPointsMallRulesBinding>() {
    companion object {
        fun start(context: Context) {
            val intent = Intent(context, PointsMallRulesActivity::class.java)
            context.startActivity(intent)
        }
    }

    override fun getViewBinding() = ActivityPointsMallRulesBinding.inflate(layoutInflater)

    override fun initView() {

    }

    override fun initData() {
        // 设置背景色
        binding.webContent.setBackgroundColor(0);
        // 设置透明度 范围：0-255
        binding.webContent.background?.alpha = 0;
//        binding.webContent.loadDataWithBaseURL(null, dataDetail, "text/html", "utf-8", null)


        initListener()
    }

    private fun initListener() {

    }

    override fun onClick(view: View) {
        super.onClick(view)
        when (view) {

        }
    }
}